package com.yanqu.road.entity.log;

import com.yanqu.road.entity.FieldTypeAnnotation;

import java.util.Date;

@FieldTypeAnnotation(desc = "矿山-占领表", tableName = "t_c_ck_kuang_log_battle_place_seize",autoSave = true,uploadCk = true,isCross = true)
public class LogKuangBattlePlaceSeize extends ServerBaseLog{

    @FieldTypeAnnotation(desc = "周次id",isIndex = true)
    private int weekId;

    @FieldTypeAnnotation(desc = "分组id",isIndex = true)
    private int groupId;


    @FieldTypeAnnotation(desc = "宗门id")
    private int campId;

    @FieldTypeAnnotation(desc = "轮次")
    private int round;

    @FieldTypeAnnotation(desc = "抢占宝地")
    private int placeId;

    @FieldTypeAnnotation(desc = "宝地丢失方式 1被抢  2系统结算")
    private int type;

    @FieldTypeAnnotation(desc = "被抢占时间")
    private Date seizeTime;

    @FieldTypeAnnotation(desc = "占领持续时间/s")
    private long totalTime;

    @FieldTypeAnnotation(desc = "产出多少积分")
    private long seizeScore;

    public LogKuangBattlePlaceSeize(int weekId, int groupId, int campId, int round, int placeId, int type, Date seizeTime, long totalTime, long seizeScore) {
        this.weekId = weekId;
        this.groupId = groupId;
        this.campId = campId;
        this.round = round;
        this.placeId = placeId;
        this.type = type;
        this.seizeTime = seizeTime;
        this.totalTime = totalTime;
        this.seizeScore = seizeScore;
    }

    public int getWeekId() {
        return weekId;
    }

    public void setWeekId(int weekId) {
        this.weekId = weekId;
    }

    public int getGroupId() {
        return groupId;
    }

    public void setGroupId(int groupId) {
        this.groupId = groupId;
    }

    public int getCampId() {
        return campId;
    }

    public void setCampId(int campId) {
        this.campId = campId;
    }

    public int getRound() {
        return round;
    }

    public void setRound(int round) {
        this.round = round;
    }

    public int getPlaceId() {
        return placeId;
    }

    public void setPlaceId(int placeId) {
        this.placeId = placeId;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public Date getSeizeTime() {
        return seizeTime;
    }

    public void setSeizeTime(Date seizeTime) {
        this.seizeTime = seizeTime;
    }

    public long getTotalTime() {
        return totalTime;
    }

    public void setTotalTime(long totalTime) {
        this.totalTime = totalTime;
    }

    public long getSeizeScore() {
        return seizeScore;
    }

    public void setSeizeScore(long seizeScore) {
        this.seizeScore = seizeScore;
    }

    @Override
    public long getUserId() {
        return 0;
    }
}
